Skip to content

feat(atlas): evaluate scoped session co-occurrence candidates offline - #13600

Merged
dezren39 merged 2 commits into
mainfrom
atlas/session-cooccurrence-13590
Nov 24, 2026
Merged

dezren39 merged 2 commits into
mainfrom
atlas/session-cooccurrence-13590

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Closes #13590. Delivers the #9140 session co-occurrence experiment as a metadata-only Python evaluator, synthetic fixture, regression tests and Atlas reference entry.

The hand-counted oracle predicts future distinct opens from the first half of a held-out session using only training sessions that ended before that evaluation partition. Tests cover cold starts, deterministic ties, duplicate opens, missing scopes, retirement and foreign subjects. No corpus capture, hosted model or production entry point is connected.


Run Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 87e77a9e-62fe-4b52-9529-f30fc4ba5d41
Commits

Reviewing files that changed from the base of the PR and between 04c46f8 and 3c12c15.

Files selected for processing: 4

  • pkgs/atlas-search/book/reference/atlas-eval.md
  • pkgs/atlas-search/eval/fixtures/session-cooccurrence.json
  • pkgs/atlas-search/eval/session_cooccurrence.py
  • pkgs/atlas-search/eval/test_session_cooccurrence.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T18:18:55.220311Z 707b92a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 707b92a46e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +26 to +28
def test_retired_foreign_and_cross_cutoff_cannot_change_candidates_or_metrics(self):
data = fixture()
original = evaluate(data, 2)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add generated coverage for the evaluator's isolation invariants

The scope-isolation and duplicate-open tests assert meaningful invariants, but exercise only fixed mutations of one synthetic fixture. Add generated fixtures and mutations checked against these invariants (or a generated reference model) to cover exclusion of foreign, retired, and cross-cutoff sessions and duplicate-open idempotence. The repository testing doctrine requires property/model-based coverage where these invariants exist; the hand-counted examples remain useful smoke coverage but do not replace that requirement.

AGENTS.md reference: AGENTS.md:L37-L39

Useful? React with 👍 / 👎.

…p compact exit-codes table + offline candidates section)
@dezren39
dezren39 merged commit 2400600 into main Nov 24, 2026
1 check passed
@dezren39
dezren39 deleted the atlas/session-cooccurrence-13590 branch November 24, 2026 03:15
@dezren39

Copy link
Copy Markdown
Member Author

Batch A merge (lane code-i, task 21622): merge-main-in 3c12c15 pushed (no force), verified, PR merged as 2400600. Codex P1 (generated coverage for isolation invariants) left as follow-up for the author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Atlas: evaluate session co-occurrence candidates against held-out opens

1 participant